using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

public class UI_鼠标移入 : MonoBehaviour, IPointerEnterHandler
{
    public System.Action<RectTransform> 移入;
    //当鼠标移动到此UI
    public void OnPointerEnter(PointerEventData eventData)
    {
        移入?.Invoke((RectTransform)transform);
    }
}
